package com.shi.yoyoshop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shi.yoyoshop.bean.User;

/**
* @author 20556
* @description 针对表【user】的数据库操作Service
* @createDate 2024-01-05 13:30:41
*/
public interface UserService extends IService<User> {

    User getUserById(Integer userId);

    User getUserByUsername(String username);

    User getUserByPhone(String phone);

    void resetPasswordByUserId(User user);

    IPage<User> getUserListWithPage(Page<User> userPage);
}
